package com.entity;

/**
 * 学生的信息
 * @author Administrator
 *
 */
public class Student {
	private String id;
	private String name;
	private int age;
	private double result;
	private School school;
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getAge() {
		return age;
	}
	public void setAge(int age) {
		this.age = age;
	}
	public double getResult() {
		return result;
	}
	public void setResult(double result) {
		this.result = result;
	}
	public School getSchool() {
		return school;
	}
	public void setSchool(School school) {
		this.school = school;
	}
	@Override
	public String toString() {
		return "Student [id=" + id + ", name=" + name + ", age=" + age + ", result=" + result + ", school=" + school
				+ "]";
	}
	public Student(String id, String name, int age, double result, School school) {
		super();
		this.id = id;
		this.name = name;
		this.age = age;
		this.result = result;
		this.school = school;
	}
	
	
	public Student() {
		super();
	}
	
	
	
}
